import { createRouter, createWebHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    name: 'home',
    component: () => import('../views/HomeView.vue')
  },
  {
    path: '/GlobalProperties',
    name: 'GlobalProperties',
    component: () => import('../views/GlobalProperties.vue')
  },
  {
    path: '/ProvideInject',
    name: 'ProvideInject',
    component: () => import('../views/ProvideInject.vue')
  },
  {
    path: '/LoopOutput',
    name: 'LoopOutput',
    component: () => import('../views/LoopOutput.vue')
  },
  {
    path: '/DynamicUpdate',
    name: 'DynamicUpdate',
    component: () => import('../views/DynamicUpdate.vue')
  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router